{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/member_level/index')}">会员等级管理</a></li>
            <li class="layui-this">编辑会员等级</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/member_level/edit')}" method="post">
                    <input type="hidden" name="id" value="{$data.id}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">等级编号 ：</label>
                        <div class="layui-input-block">
                            <input type="text" name="level" value="{$data.level}" disabled class="layui-input">
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">等级名称 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="level_name" value="{$data.level_name}" placeholder="请输入等级名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">等级价格 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="level_price" value="{$data.level_price}" placeholder="请输入等级价格" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">等级描述 :</label>
                        <div class="layui-input-block">
                            <textarea name="level_desc" placeholder="请输入等级描述" class="layui-textarea">{$data.level_desc}</textarea>
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}